package de.herberlin.sudoku.gui;

import de.herberlin.sudoku.Constants;
import de.herberlin.sudoku.Main;

public class LevelOption {

	private String message=null;
	private int value=-1;
	public LevelOption(String messageKey,int value) {
		this.message=Main.getMessage(messageKey);
		this.value=value;
	}
	public int getValue() {
		return value;
	}
	public String toString() {
		return message;
	}

	public static final LevelOption VERY_HARD=new LevelOption("level.veryhard",Constants.SEVERITY_VERY_HARD);
	public static final LevelOption HARD=new LevelOption("level.hard",Constants.SEVERITY_HARD);
	public static final LevelOption MEDIUM=new LevelOption("level.medium",Constants.SEVERITY_MIDDLE);
	public static final LevelOption EASY=new LevelOption("level.easy",Constants.SEVERITY_EASY);

	public static final LevelOption[] ALL=new LevelOption[] {
		VERY_HARD,HARD,MEDIUM,EASY
	};
}
